/**
 * @author shentianyu
 * @date 2021-06-05 14:43
 */
public class Calculator {

    public int compute(int i, int j, String c) throws IllegalAccessException, InstantiationException, ClassNotFoundException {
        Computable computable = ComputeFactory.getCompute(c);
        return computable.compute(i, j);
    }
}
